-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for major/minor protocol version routing #443
Add support for major/minor protocol version routing #443
Conversation
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
…ent-python into proto-versions Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
…ent-python into proto-versions Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #443 +/- ##
=======================================
Coverage 93.74% 93.74%
=======================================
Files 235 235
Lines 11732 11732
=======================================
Hits 10998 10998
Misses 734 734 |
This pull request introduces 2 alerts when merging 9981c42 into 109ec34 - view on LGTM.com new alerts:
|
In this context by old style I mean the structure of the protocol directory. If it doesn't define it's supported major version and minimum minor version, it uses the current functionality of an exact match. Basically, it's for backwards compatibility since that is the current behaviour. |
Signed-off-by: Nicholas Rempel <[email protected]>
@TelegramSam do you have an opinion on these changes at all? I know you've been active in the spec discussion. |
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
Signed-off-by: Nicholas Rempel <[email protected]>
@andrewwhitehead I've opened up this PR |
Added a couple comments but it looks good otherwise |
Signed-off-by: Nicholas Rempel <[email protected]>
@andrewwhitehead thanks, fixed |
Addresses: #409, hyperledger/aries-rfcs#407
This pull requests major/minor version routing for aries protocols.
The implementation follows these rules:
@type
parameter must match exactlydefinition.py
. If a message is received for a protocol and major version with a minor version less than the minimum supported version, the agent will respond with a problem report with text describing the violation.Remaining todo:
Docs: https://github.com/nrempel/aries-cloudagent-python/blob/proto-versions/aries_cloudagent/protocols/README.md